package org.stwy.lease.contract;

import java.util.List;

import org.springframework.data.jpa.repository.Query;

import com.rap.common.persistence.IBaseDAO;

/**
 * 合同 DAO类
 */
/**
*版权信息 (c) RAP 保留所有权利.
*@author Rap.Codegen
*@Team RAP Team
*@Date 2015-4-17 20:48:15
*<p></p>
*
*@参与人：Rap.Codegen
*/
 
public interface ContractAssetDAO extends IBaseDAO<ContractAssetEntity, String> {

	@Query(" from ContractAssetEntity a where a.contract.uuid = ?1")
	List<ContractAssetEntity> findByContractId(String contractId);
	
	//属性名解析查询
	//ContractEntity findByFieldName(String p1);
}
